package presentation.web;



/**
 * The Class IndexPage.
 * @author Hadas
 */
public class IndexPage extends MainPage
{

	
	/**
	 * Instantiates a new index page.
	 * 
	 */
	public IndexPage()
	{
		super();
	}

	
	/* (non-Javadoc)
	 * @see presentation.web.MainPage#onLoad()
	 */
	/**
	 * Initialize The forum and navigation to MainPage
	 */
	@Override
	protected void onLoad()
	{
		super.onLoad();
		try
		{
			this.navigateToPage(MainPage.HOME_PAGE);
		}
		catch (Exception e)
		{
			this.navigateToErrorPage("Canot navigate to Main Page", null);
		}
	}
}

